export const searchItemList: Array<SuperSearch.SearchItem> = [
  {
    type: "input",
    label: "姓名",
    keyName: "name"
  },
  {
    type: "select",
    label: "状态",
    keyName: "status",
    optConfig: {
      label: "label",
      value: "value"
    },
    options: [
      {
        label: "启用",
        value: 1
      },
      {
        label: "停用",
        value: 0
      }
    ]
  }
];

// 列表
export const tableColumn: Array<SuperTable.TableCoulmnItem | SuperTable.NestTableColumnItem> = [
  {
    field: "accountName",
    title: "用户名",
    minWidth: "140"
  },
  {
    field: "name",
    title: "姓名",
    minWidth: "120"
  },
  {
    field: "deptName",
    title: "部门",
    minWidth: "120"
  },
  {
    field: "remark",
    title: "备注",
    minWidth: "140"
  },
  {
    field: "phone",
    title: "手机号",
    minWidth: "120"
  },
  {
    field: "status",
    title: "状态",
    minWidth: "90",
    renderSlot: "status"
  },
  {
    field: "action",
    title: "操作",
    minWidth: "180",
    renderSlot: "action"
  }
];
